-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CP-9607: update android passkey implementation #2192
base: main
Are you sure you want to change the base?
Conversation
@@ -182,7 +182,7 @@ export const useSeedlessRegister = (): ReturnType => { | |||
await SeedlessService.sessionManager.approveFido( | |||
oidcAuth.oidcToken, | |||
oidcAuth.mfaId, | |||
false | |||
true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be true
instead, if we don't know it is yubikey/passkey, we want to prompt both options to them.
await sessionManager.approveFido( | ||
oidcToken, | ||
mfaId, | ||
false //FIXME: this parameter is not needed, should refactor approveFido to remove it, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be true
instead, if we don't know it is yubikey/passkey, we want to prompt both options to them.
? decodedResult.response.signature | ||
: '' | ||
) as Buffer, | ||
userHandle: base64UrlToBuffer( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
userHandle is null when authenticating with yubikey, so we check userhandle is in the reponse, if not, simply use empty string to convert to empty buffer.
Description
Changes done outside of mobile repo
cs org get
(you will need to authenticate first) *we will need to make sure these org policy update is deploy from gamma to production prior to releasing this updateTicket: CP-9607
Screenshots/Videos
onboarding with android passkey and verifying android passkey
az_recorder_20250117_102851.mp4
Checklist
Please check all that apply (if applicable)